package com.wyt.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Employee {
    private Integer eNumber;

    private String eName;

    private Integer ePassword;

    private String eSex;

    private Integer eAge;

    private String eTel;

    private String eSid;

    private String eAddress;

    private Integer eStatus;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date eIndate;

    private Integer dId;

    private Integer eRole;

    private String eUrl;

    public Integer getTotalAdress() {
        return totalAdress;
    }

    public void setTotalAdress(Integer totalAdress) {
        this.totalAdress = totalAdress;
    }

    ///添加各城市总人数的属性
    private  Integer totalAdress;
    public Integer geteNumber() {
        return eNumber;
    }

    public void seteNumber(Integer eNumber) {
        this.eNumber = eNumber;
    }

    public String geteName() {
        return eName;
    }

    public void seteName(String eName) {
        this.eName = eName == null ? null : eName.trim();
    }

    public Integer getePassword() {
        return ePassword;
    }

    public void setePassword(Integer ePassword) {
        this.ePassword = ePassword;
    }

    public String geteSex() {
        return eSex;
    }

    public void seteSex(String eSex) {
        this.eSex = eSex == null ? null : eSex.trim();
    }

    public Integer geteAge() {
        return eAge;
    }

    public void seteAge(Integer eAge) {
        this.eAge = eAge;
    }

    public String geteTel() {
        return eTel;
    }

    public void seteTel(String eTel) {
        this.eTel = eTel == null ? null : eTel.trim();
    }

    public String geteSid() {
        return eSid;
    }

    public void seteSid(String eSid) {
        this.eSid = eSid == null ? null : eSid.trim();
    }

    public String geteAddress() {
        return eAddress;
    }

    public void seteAddress(String eAddress) {
        this.eAddress = eAddress == null ? null : eAddress.trim();
    }

    public Integer geteStatus() {
        return eStatus;
    }

    public void seteStatus(Integer eStatus) {
        this.eStatus = eStatus;
    }

    public Date geteIndate() {
        return eIndate;
    }

    public void seteIndate(Date eIndate) {
        this.eIndate = eIndate;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public Integer geteRole() {
        return eRole;
    }

    public void seteRole(Integer eRole) {
        this.eRole = eRole;
    }

    public String geteUrl() {
        return eUrl;
    }

    public void seteUrl(String eUrl) {
        this.eUrl = eUrl == null ? null : eUrl.trim();
    }

    @Override
    public String toString() {
        return "Employee{" +
                "eNumber=" + eNumber +
                ", eName='" + eName + '\'' +
                ", ePassword=" + ePassword +
                ", eSex='" + eSex + '\'' +
                ", eAge=" + eAge +
                ", eTel='" + eTel + '\'' +
                ", eSid='" + eSid + '\'' +
                ", eAddress='" + eAddress + '\'' +
                ", eStatus=" + eStatus +
                ", eIndate=" + eIndate +
                ", dId=" + dId +
                ", eRole=" + eRole +
                ", eUrl='" + eUrl + '\'' +
                '}';
    }
}